package com.eatme.web.sys.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class AuthRole implements Serializable {

    private Integer roleId;

    private String roleName;

    private Set<AuthResource> permissions = new HashSet<>();

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Set<AuthResource> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<AuthResource> permissions) {
        this.permissions = permissions;
    }
}
